
import unittest

from demo import add

from pyannotate_runtime import collect_types


class TestLc(unittest.TestCase):
    def setUp(self):
        collect_types.init_types_collection()
        print("setUp...")

    def tearDown(self):
        filename="type_info.json"
        collect_types.dump_stats(filename)
        print("tearDown...")

    def test_case_01(self):
        collect_types.start() 
        add(1,3)
        collect_types.stop() 


if __name__ == "__main__":
    unittest.main()
